@import url("mixins.less");
@import url("http://fonts.googleapis.com/css?family=Limelight:regular&v1");

@header_color_start: rgb(64, 150, 238);
@header_color_stop: rgb(64, 150, 238);
@preferred_gray: rgb(221, 221, 221);
@dark_gray: rgb(128, 128, 128);
@light_gray: rgb(245, 245, 245);
@data_width: 166px;
@data_height: 236px;

@primary_font: Limelight, Arial, sans-serif;
@secondary_font: Tahoma, Geneva, sans-serif;
@tertiary_font: Verdana, Arial, sans-serif;

body {
}

/* Helper styles */
.light {
	background-color: rgba(225, 225, 255, 0.25);
}

.dark {
	background-color: rgba(200, 200, 255, 0.25);
}

.noblock {
	display: inline-block;
}

.right {
	float: right;
}

.clear_div {
	clear: both;
}


/* Header styles */
.nav_item {
	padding-right: 1em;
	padding-left: 1em;
	border-right: @preferred_gray solid 1px;
}

.last_item {
	border-right: none;
}

div.header {
	height: 90px;
	z-index: 1;

	position: relative;
	width: 100%;
	top: 0px;

	a {
		.text-style-small(@secondary_font);
  		text-decoration: none;
		color: @preferred_gray;
	}
	
	#header_title {
		margin: 15px auto 0 auto;
		display: inline-block;
		z-index: 1;
	}
	
	#header_nav {
		position: relative;
		margin: 49px auto 0 auto;
		display: inline-block;
		float: right;
	}

	#header_wrapper {
		width: 90%;
		margin: auto;
	}
	
	img {
		width: 300px;
		height: 60px;
		display: inline-block;

		.box-reflect(-26px);		 
	}
}

#header_container {
	margin-bottom: 2em;
	border-bottom: @preferred_gray solid 1px;
	
	.box-shadow(0px, 0px, 5px, black);
	.background-gradient(@header_color_start, @header_color_stop);
}

/* End header styles */

/* Content styles */
div.status_message_container {
	display: none;
	z-index: 9003;
	text-align: center;
	
	background: @preferred_gray;
	border: @dark_gray 1px solid;
	
	position: fixed;
 	top: -100px;
 	width: 100%;
 	
 	margin: auto;
 	padding: 10px 10px;
	
	.box-shadow(0px, 1px, 2px, black);

	h3 {
		color: black;
		.text-style-medium(Arial, Helvetica, sans-serif);
		.text-shadow;
		font-weight: bold;
	}
}

input.user_input {
	.alternate-text;
	
	padding: 0.5em;
	border: @preferred_gray 1px solid;
}

div.content_container {
	position: relative;
	margin: auto;

	width: 90%;
	min-height: 400px;
	
	z-index:0;
}

div.inner_container {
	margin: 1em;
}

div.content_rect {
	width: 75%;
	margin: auto;
	min-height: 500px;
	z-index: 0;
}

/* Section styles */
div.section_container {
	width: 100%;
	height: 350px;
		
	margin-top: 1em;
	
	border-top: @preferred_gray solid 1px;
	border-bottom: @preferred_gray solid 1px;
}

div.section_title {
	display: inline-block;
	
	width: 30%;
	padding: 10px;
	
	color: black;

	h1, h2, h3 {
		.text-style-large(@primary_font);
		display: inline-block;
		margin-right: 1em;
	}
}

/* User navigation */
img.user_nav_menu {
	cursor: pointer;
	width: 1.5em;
	height: 1.5em;
}

div.user_nav_container {
	width: 100%;
}

div.user_nav {
	position: relative;
	float: right;
	padding: 0.5em;
	padding-right: 0;
	display: inline-block;
	
	h3 {
		.text-style-small(@secondary_font);
		display: inline-block;
	}
}

div.search_container {
	position: relative;
	float: left;
}
/* End user navigation */

div.footer {
	position: relative;
	min-width: 950px;
	width: 90%;
	
	margin: 1em auto auto auto;
	
	border-top: @preferred_gray solid 1px;

	h2 {
		.text-style-small(@secondary_font);
		display: inline;
		color: gray;
	}
}

div.section_grid_container {
	position: relative;
	
	div.lscroll {
		cursor: pointer;
		.noblock;
		
		position: absolute;
		left: 0px;
		top: 150px;
		
		width: 32px;
		height: 32px;
		background-image: url("/static/icons/left-32.png");
		margin-right: 1em;
	}
	
	div.rscroll {
		cursor: pointer;
		.noblock;
		
		position: absolute;
		right: 0px;
		top: 150px;
		
		width: 32px;
		height: 32px;	
		background-image: url("/static/icons/right-32.png");
		margin-left: 1em;	
	}
	
	div.section_grid {
		position: relative;
		overflow: hidden;
		
		float: center;
		
		margin: auto;
		margin-top: 1em;
		
		width: 90%;
		height: 200%;
	
		/*border: @preferred_gray dotted 1px;*/
	}
	
	div.section_overflow_grid {
		position: relative;
		overflow: hidden;
		
		float: center;
		
		margin: auto;
		margin-top: 1em;
		
		width: 2000%;
		height: 80%;	
	}
	
	div.section_data {
		position: relative;
		
		display: inline-block;
		
		left: 0px;
		
		width: @data_width;
		height: @data_height;
		
		margin: 15px 15px 15px 15px;
		
		overflow: visible;
		.box-shadow(2px, 2px, 5px, black);	
		
		img {
			width: @data_width;
			height: @data_height;
		}
		button {
			position: absolute;
			z-index: 9003;
			width: 15px;
			height: 15px;
		}
	}
}

div.popup_background {
	background-color:#111;
	opacity: 0.55;
	position:absolute;
	z-index: 9001; /*ooveeerrrr nine thoussaaaannnd*/
	top:0px;
	left:0px;
	width:100%;
	height:100%;	
}

div.popup_container {
   	background-color: @light_gray;
   	position: absolute;
   	z-index: 9002;
   	top:250px;
   	left:375px;
   	width:50%;   
   	border: @dark_gray 5px solid;
   	.box-shadow(0px, 0px, 10px, black);
   
	legend {
  		.text-style-large(@secondary_font);
  		text-align: center;
	}
   
	table {
   		.text-style-small(@tertiary_font);
   		display: inline-table;
  		margin: 1em;
  		font-weight: bold;
  		width: 70%;
  	
		td {
  			padding: 0.5em;
  			input {
  				width: 100%;
  			}
		}
	}
   
	fieldset {
		margin: 1em;
	}
   
	img {
		width: @data_width / 2;
  		height: @data_height / 2;
  		display: inline-block;
	}
}

div.tooltip_container {
   width: @data_width * 1.75;
	
   div {
  	.text-style-large(@secondary_font);
  	text-align: center;
   	background-color: @preferred_gray;
   	height: 20%;
   	color: black;
   	padding: 10px;
   	border-bottom: @dark_gray 1px dotted;
   }
   
   table {
  	width: 95%;
  	.text-style-small(@tertiary_font);
  	margin: 10px;
   }
   
   td.strong {
   	font-weight: bold;
   }
   
   td {
   	padding: 0.5em;
   }
}

div.popup_left:before {
	content: "";
	position: absolute;
	border-width: 15px 45px 15px 0;
	border-style: solid;
	border-color: transparent @dark_gray;
	left: -45px;
	top: 10px;
}

div.popup_right:after {
	content: "";
	position: absolute;
	border-width: 15px 0px 15px 45px;
	border-style: solid;
	border-color: transparent @dark_gray;
	right: -45px;
	top: 10px;
}

div.popup_content {
    position:absolute;
    background-color:#eeeeee;
    width:300px;
    height:300px;
    z-index: 9002; /*ooveeerrrr nine thoussaaaannnd*/
}

fieldset,legend {
  border: 2px ridge silver;
}

fieldset {
  padding: 5px;
  padding-top: 12px;
  padding-left: 10px;
}

legend {
  padding: 3px 12px;
  background-color: silver;
  font-weight: bold;
}

.close_button {

	.round-base(18px);
	
	.box-shadow(0, 0, 5px, black);
	
	position: absolute;
	right: -11px;
	top: -11px;
	border: @light_gray solid 2px !important;
	
	cursor: pointer;
	
	p {
		font: 12px Arial, sans-serif;
		color: @light_gray;
		margin-left: 1px;
		margin-top: 2px;
	}
}

.number_banner {
	.round-base(1.2em);
	
	font: 1em Arial, sans-serif;
	.box-shadow(0, 0px, 3px, black);

	border: white solid 2px !important;
	vertical-align: middle;
	
	padding: 0.3em 0.6em;
}